window.onload = function() {
    var timer;
    var pre = 0;
    timer = setInterval(function() {
        $('.bar').css('width', pre + '%');
        pre += 1;
        if (pre > 100) {
            $('.pageLoading').addClass('complete');
            $('.pageLoading').fadeOut(500);
            clearInterval(timer);
            setTimeout(function() {
                $('.monsterText').fadeOut(2000, function() {
                    $(this).html('We Are Monster<br>');
                    $(this).fadeIn(2000);
                });
            }, 500);
        }
    }, 30)
}